package com.ychug.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 *
 * @author dds
 */

@SpringBootApplication(scanBasePackages = {"com.baidu","com.ychug"},exclude={DataSourceAutoConfiguration.class})
@MapperScan({"com.ychug.*.*.mapper","com.ychug.*.mapper"})
public class GatewayApplication{
    public static void main(String[] args){
        SpringApplication.run(GatewayApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  MCPCMS-GATEWARY 系统启动成功   ლ(´ڡ`ლ)ﾞ  \n");
    }
}